package com.sl.au.entity;

import java.util.Date;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 事件具体扣分人员表
 * 
 * @author 刘昆
 *
 */
@Entity
@Table(name = "sl_wcsi_EventToEvaluateUser")
public class EventToEvaluateUser extends Root{
	@ManyToOne 
	@JoinColumn(nullable = true,name="registerEventEvaluateLevel")
	private Grading registerEventEvaluateLevel;//登记事件评价级别(7级编码,用户扣分系统)
	
	@ManyToOne 
	@JoinColumn(nullable = true,name="registerEvent")
	private EventRegister registerEvent;
	
	@ManyToOne 
	@JoinColumn(nullable = true,name="registerUser")
	private User registerUser;
	
	@Column(nullable = true,name="scale")
	private double scale;//分数

	public Grading getRegisterEventEvaluateLevel() {
		return registerEventEvaluateLevel;
	}

	public void setRegisterEventEvaluateLevel(Grading registerEventEvaluateLevel) {
		this.registerEventEvaluateLevel = registerEventEvaluateLevel;
	}

	public EventRegister getRegisterEvent() {
		return registerEvent;
	}

	public void setRegisterEvent(EventRegister registerEvent) {
		this.registerEvent = registerEvent;
	}

	public User getRegisterUser() {
		return registerUser;
	}

	public void setRegisterUser(User registerUser) {
		this.registerUser = registerUser;
	}

	public double getScale() {
		return scale;
	}

	public void setScale(double scale) {
		this.scale = scale;
	}
}
